Add API spec for PSP API
Post a Google Pay transaction to the PSP.
account_id required | string^[PT]\d{8} Example: P12345678 The Dintero merchant account id |
payment_id required | string |
authorization required | string Access token you received when creating the payment |
reference required | string [ 8 .. 40 ] characters Unique reference for this transaction |
payment_data required | string Should be a JSON stringified version of the PaymentData response from Google Pay API, see https://developers.google.com/pay/api/web/reference/response-objects#PaymentData |
{- "reference": "01249a0e-18d9-4b8e-8834-2319b3f32bb5",
- "payment_data": "string"
}
{- "payment_id": "string",
- "transaction_id": "string",
- "auth_method": {
- "type": "SECURE_3D_AUTHENTICATION",
- "payment_id": "string",
- "transaction_id": "string"
}, - "operations": [
- {
- "href": "string",
- "method": "POST",
- "content_type": "application/json",
- "rel": "3d-secure-init"
}
]
}