Get Payment info

xendit tips : When you receive our callback in your URL, you can verify that the callback you receive is coming from us.

Parameter
Type
Description

payment_id

String

ID of the payment retrieved from Virtual Account Payment object. example : va_0017_1668152730189

GET https://us-central1-appgregator.cloudfunctions.net/xendit/va/payment/:payment_id/

Query Parameters

Name
Type
Description

name*

String

ft-4

connection_name*

String

xendit-sanbox-1

Headers

Name
Type
Description

x-api-key*

String

U2Fsd...

{
    "payment_id": "va_0017_1668152730189",
    "callback_virtual_account_id": "636dfd5bc1cb35297c3ec52a",
    "external_id": "va_0017",
    "account_number": "999924281863",
    "bank_code": "BNI",
    "amount": 20000,
    "transaction_timestamp": "2022-11-11T07:45:30.189Z",
    "merchant_code": "8808",
    "currency": "IDR",
    "id": "636dfd9ac7072a436baa331a"
}

curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/xendit/va/payment/va_0017_1668152730189?name=ft-4&connection_name=xendit-sanbox-1' \
--header 'x-api-key: U2Fsd...'

Last updated