Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request:
- mutation CreateDeposit($input: PaymentsDepositInput!) {
- createDeposit(input: $input) {
- status
- redirectUrl
- errorMessage
- groupTransactionId
- fields
- }
- }
- Variables:
- {
- "input": {
- "paymentProvider": "stripe",
- "amount": 100.0,
- "walletId": "48c9c868-a24a-4908-a8d8-40d05f1e120a",
- "currency": "EUR",
- "fields": {
- "paymentAccountId": "pm_1F9XFyJ0IKQZZQwZ0ozQ9SFB"
- },
- "processingUrl": "https://direct.fxpro.com/processing",
- "errorUrl": "https://direct.fxpro.com/error",
- "successUrl": "https://direct.fxpro.com/success"
- }
- }
- Response:
- {
- "data": {
- "createDeposit": {
- "status": "error",
- "redirectUrl": "https://direct.fxpro.com/error",
- "errorMessage": "Errors happened during processing deposit",
- "groupTransactionId": null,
- "fields": null
- }
- },
- "requestId": "828ba8cc-4c0f-4605-afe4-065f99993958"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement