post https://sandbox-id.xfers.com/api/v4/payment_methods/
Available banks
Bank | bankShortCode |
---|---|
BCA | BCA |
BNI | BNI |
BRI | BRI |
CIMB Niaga | CIMB_NIAGA |
Danamon | DANAMON |
Hana | HANA |
Mandiri | MANDIRI |
Permata | PERMATA |
Bank Sahabat Sampoerna | SAHABAT_SAMPOERNA |
Bank Syariah Indonesia | BSI |
Example of QRIS Payment Method request
# /api/v4/payment_methods/qris
{
"data": {
"attributes": {
"referenceId": "static_qris_reference_id",
"displayName": "Your preferred name"
}
}
}
# QRIS
{
"data": {
"id": "qr_77650b6f67b6bf1234556",
"type": "qris",
"attributes": {
"referenceId": "static_qris_reference_id",
"instructions": {
"imageUrl": "<url>",
"displayName": "Your preferred name"
}
}
}
}