fixed mntx payout sequence
This commit is contained in:
@@ -20,12 +20,15 @@ This service now supports Monetix “payout by card”.
|
||||
Payload is built per Monetix spec:
|
||||
```
|
||||
{
|
||||
"general": { "project_id": <int>, "payment_id": "<payout_id>", "signature": "<hmac>" },
|
||||
"general": { "project_id": <int>, "payment_id": "<operation_ref>", "signature": "<hmac>" },
|
||||
"customer": { id, first_name, last_name, middle_name?, ip_address, zip?, country?, state?, city?, address? },
|
||||
"payment": { amount: <minor_units>, currency: "<ISO-4217>" },
|
||||
"card": { pan, year?, month?, card_holder }
|
||||
}
|
||||
```
|
||||
Gateway request contract additionally requires `parent_payment_ref` as a first-class field
|
||||
(separate from Monetix `payment_id`).
|
||||
|
||||
Signature: HMAC-SHA256 over the JSON body (without `signature`), using `MONETIX_SECRET_KEY`.
|
||||
|
||||
## Callback handling
|
||||
|
||||
Reference in New Issue
Block a user