Payments
Submit payment
Changed onSubmits a previously created payment for execution.
You can submit payments over different payment schemes, check out our payments guides to help decide which scheme best suites your use case.
post/v0/payments/{payment-id}/submissions
Request
- Base URLhttps://api.griffin.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
payment-idstring required
Request body
Response
OK
Example response
{
"created-by-url": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"payment-url": "/v0/payments/pm.ICAgICAgcGF5bWVudC1pZA",
"unique-scheme-identifier": "PGIT2IS7AJG77D2HK23020240212826NatWes ",
"submission-url": "/v0/submissions/ps.ICAgc3VibWlzc2lvbi1pZA"
}Changes
- info
api operation id
post-payments-payment-id-submissionswas added
- info
- info
added the non-success response with the status
- info