Account linking
Unlink account
POST
/api/v1/end_user_topup/unlink-topupUnlinks by resourceId.
This API needs a Signature header. The portal signs when that company code has a signing key configured. Without it, the sandbox receives the request unsigned.
Headers
| Fields | Description |
|---|---|
Content-TypeRequired | application/json |
AuthorizationRequired | Authorization key Fintwin issues for the company code. |
SignatureRequired | Body integrity signature. The signing key is issued with the API key. |
TimestampRequired | Request time. |
Body
| Fields | Description |
|---|---|
clientMessageIdRequired | Message id. |
comCodeRequired | Enterprise code. |
bankCodeRequired | Bank code. |
resourceIdRequired | Link id. |
Samples
curl -X POST 'https://sandbox.example.invalid/api/v1/end_user_topup/unlink-topup' \
-H 'Content-Type: application/json' \
-H 'Authorization: <authorization-key>' \
-d '{"clientMessageId":"MSG-TEST-003","comCode":"TEST0001","bankCode":"970422","resourceId":"RES-TEST-001"}'