Skip to main content
GET
Verify virtual account status
Use this endpoint to confirm whether a customer has completed payment for a virtual account collection.
Webhooks should be your primary source of truth. Use this endpoint for manual checks, retries, and dashboard reconciliation.

Endpoint

Headers

Path parameters

Example request

Successful response

Possible statuses

How to use this endpoint

1

Find the reference

Store the virtual account reference when you create the account.
2

Send the request

Call the status endpoint with the reference in the URL path.
3

Inspect the response

Check data.status and the payment timestamps in the response body.
4

Sync your records

Update your dashboard or order state after you confirm the payment.

Best practices

  • Use webhooks as your primary confirmation method.
  • Use this endpoint for manual verification or dashboard syncing.
  • Check data.status before treating a payment as successful.
  • Store the reference and merchantReference in your database.

Create virtual account

Create a temporary virtual account for collecting a bank transfer.

Webhooks

Receive real-time payment notifications from Pasteaza.

Authorizations

Authorization
string
header
required

Use an sk_test_... key in the playground. Never enter a live key in shared environments.

Path Parameters

reference
string
required

Pasteaza reference or supported merchant reference.

Response

Collection status retrieved.

status
boolean
required
message
string
required
data
object
required