Download OpenAPI specification:Download
The Emporix API Payment-Gateway Service allows you to manage your payment methods.
Key Features:
Key Benefits:
Creates a flow to capture a given payment transaction. The capture operation requires transactionId, thus it can be invoked only if the payment had been previously authorized.
Required scopes
payment-gateway.capture_manage
Payment capture response
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Unprocessable Entity. The payment action is not supported.
Internal Server Error.
{- "amount": 3.99,
- "currency": "EUR"
}
{- "successful": true,
- "message": "string",
- "captureId": "string"
}
Creates a flow to return a given payment. The refund operation requires transactionId, thus it can be invoked only if the payment has been authorized and captured previously.
Required scopes
payment-gateway.refund_manage
Payment transaction response
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Unprocessable Entity. The payment action is not supported.
Internal Server Error.
{- "amount": 3.99,
- "currency": "EUR"
}
{- "successful": true,
- "message": "Success!"
}
Creates a flow to cancel a given payment transaction. The cancel operation requires transactionId, thus it can be invoked only if the payment has been authorized previously.
Required scopes
payment-gateway.cancel_manage
Payment transaction response
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Unprocessable Entity. The payment action is not supported.
Internal Server Error.
{- "successful": true,
- "message": "Success!"
}
Creates a new payment mode for a given tenant. Currently the service supports the following payment methods:
Required scopes
payment-gateway.paymentmodes_manage
Payment mode configured in the payment-gateway service for a given tenant.
Bad request. The syntax of the request is incorrect.
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Conflict. The resource already exists.
Internal Server Error.
{- "code": "paypal",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "KnQsG1FFJjfcKEUt5ObMilP2Rs4",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU5b9OKuxz",
- "Spreedly/AccessSecret": "ZrvF6kkV4KgapqzXzR67SsTR4PMbCGTnXLMasskAXKWePSOgnU3XO4EpIvIPUDcF",
- "Spreedly/PaymentMethodType": "paypal",
- "Spreedly/SignatureSecret": "_eJMkqevWxAdq9qOyA7fjnfCseO7gIaG28rSRBHKJVeKHM6i_Uqt6fGa_cWhzGvc"
}
}
{- "id": "92d77b2b-9385-43ad-a859-55176fbcbd36",
- "code": "credit_card",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "5xGx9vcZlMe1AVuHQk00CZTS8YM",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU4b31Kuxz",
- "Spreedly/AccessSecret": "ZbvF3kkV4KgapqzXzR67SsTR4IMbCGTnXLMasskPXKWePSOgnU3XO4EpIvIPUMcF",
- "Spreedly/PaymentMethodType": "credit_card",
- "Spreedly/SCAProviderToken": "Fnj4SPHmrrbCaHFkWjMItJWzNql"
}
}
Retrieves a list of configured payment modes for a given tenant.
Required scopes
payment-gateway.paymentmodes_read
Get all payment modes configured in the payment-gateway service for a given tenant.
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Internal Server Error.
[- {
- "id": "92d77b2b-9385-43ad-a859-55176fbcbd36",
- "code": "credit_card",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "5xGx9vcZlMe1AVuHQk00CZTS8YM",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU4b31Kuxz",
- "Spreedly/AccessSecret": "ZbvF3kkV4KgapqzXzR67SsTR4IMbCGTnXLMasskPXKWePSOgnU3XO4EpIvIPUMcF",
- "Spreedly/PaymentMethodType": "credit_card",
- "Spreedly/SCAProviderToken": "Fnj4SPHmrrbCaHFkWjMItJWzNql"
}
}, - {
- "id": "a8c96773-1cdf-4ea7-b1a2-1453d17f5324",
- "code": "sprel",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "5xGx9vcZlMe1AVuHQk00CZTS8YM",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU4b31Kuxz",
- "Spreedly/AccessSecret": "ZbvF3kkV4KgapqzXzR67SsTR4IMbCGTnXLMasskPXKWePSOgnU3XO4EpIvIPUMcF",
- "Spreedly/SignatureSecret": "_eJMkqevWxXcq6qOyA1fjnfCseO7gISG28rSRBHKJVeKHM6i_Pqt6fGa_cWhzGvc",
- "Spreedly/PaymentMethodType": "sprel",
}
}, - {
- "id": "ef48f439-1c2c-42ff-807d-ed4cac287741",
- "code": "paypal",
- "siteCode": "main",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "5xGx9vcZlMe1AVuHQk00CZTS8YM",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU4b31Kuxz",
- "Spreedly/AccessSecret": "ZbvF3kkV4KgapqzXzR67SsTR4IMbCGTnXLMasskPXKWePSOgnU3XO4EpIvIPUMcF",
- "Spreedly/PaymentMethodType": "paypal",
- "Spreedly/SignatureSecret": "_eJMkqevWxXcq9qOyA7fjnfCseO7gISG28rSRBHKPVeKDM6i_Uqt6fGa_cWhzGvc"
}
}
]
Retrieves a single payment mode configuration for a given tenant based on a payment mode identifier.
Required scopes
payment-gateway.paymentmodes_read
Payment mode configured in the payment-gateway service for a given tenant.
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Internal Server Error.
{- "id": "92d77b2b-9385-43ad-a859-55176fbcbd36",
- "code": "credit_card",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "5xGx9vcZlMe1AVuHQk00CZTS8YM",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU4b31Kuxz",
- "Spreedly/AccessSecret": "ZbvF3kkV4KgapqzXzR67SsTR4IMbCGTnXLMasskPXKWePSOgnU3XO4EpIvIPUMcF",
- "Spreedly/PaymentMethodType": "credit_card",
- "Spreedly/SCAProviderToken": "Fnj4SPHmrrbCaHFkWjMItJWzNql"
}
}
Updates a single payment mode for a given tenant based on a unique mode identifier.
Required scopes
payment-gateway.paymentmodes_manage
Payment mode configured in the payment-gateway service for a given tenant.
Bad request. The syntax of the request is incorrect.
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Internal Server Error.
{- "active": true,
- "configuration": {
- "Spreedly/GatewayToken": "KnQsG1FFJjfcKEUt5ObMilP2Rs4",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU5b9OKuxz",
- "Spreedly/AccessSecret": "ZrvF6kkV4KgapqzXzR67SsTR4PMbCGTnXLMasskAXKWePSOgnU3XO4EpIvIPUDcF",
- "Spreedly/PaymentMethodType": "paypal",
- "Spreedly/SignatureSecret": "_eJMkqevWxAdq9qOyA7fjnfCseO7gIaG28rSRBHKJVeKHM6i_Uqt6fGa_cWhzGvc"
}
}
{- "id": "92d77b2b-9385-43ad-a859-55176fbcbd36",
- "code": "credit_card",
- "active": true,
- "provider": "SPREEDLY",
- "configuration": {
- "Spreedly/GatewayToken": "5xGx9vcZlMe1AVuHQk00CZTS8YM",
- "Spreedly/EnvironmentKey": "Zrg5UfAqQefDY8KGvU4b31Kuxz",
- "Spreedly/AccessSecret": "ZbvF3kkV4KgapqzXzR67SsTR4IMbCGTnXLMasskPXKWePSOgnU3XO4EpIvIPUMcF",
- "Spreedly/PaymentMethodType": "credit_card",
- "Spreedly/SCAProviderToken": "Fnj4SPHmrrbCaHFkWjMItJWzNql"
}
}
Deletes a single payment mode for a given tenant based on a unique mode identifier.
Required scopes
payment-gateway.paymentmodes_manage
OK
Bad request. The syntax of the request is incorrect.
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Internal Server Error.
{- "code": 400,
- "timestamp": "2023-10-03T12:23:31.485306Z",
- "message": "The syntax of the request is incorrect."
}
Initializes a payment by accepting a request sent from the frontend.
Required scopes
Payment initialized
Bad request. The syntax of the request is incorrect.
Unauthorized
Unprocessable Entity. The payment action is not supported.
Internal Server Error.
{- "order": {
- "id": "string"
}, - "paymentModeId": "string",
- "creditCardToken": "string"
}
{- "successful": true,
- "paymentTransactionId": "FTrjO4SrNF0Had7yBCeVU5ziqwL",
- "externalPaymentParameters": { }
}
Retrieves a list of configured payment modes for a given tenant with publicly available properties (excluding all secrets, signatures etc). The endpoint should be used by a frontend application to fetch all the possible payment methods configured for a particular tenant.
Required scopes
Payment modes configured in the payment-gateway service for a given tenant that returns only properties publicly available.
Unauthorized
[- {
- "id": "92d77b2b-9385-43ad-a859-55176fbcbd2f",
- "code": "credit_card",
- "integrationType": "TOKENIZED",
- "paymentMethodType": "credit_card",
- "environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}, - {
- "id": "a8c96773-1cdf-4ea7-b1a2-1453d17f5374",
- "code": "sprel",
- "integrationType": "OFFSITE",
- "paymentMethodType": "sprel",
- "environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}, - {
- "id": "ef48f439-1c3c-42ff-807d-ef4cac237745",
- "code": "paypal",
- "integrationType": "OFFSITE",
- "paymentMethodType": "paypal",
- "environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}
]
Retrieves a single payment mode for a given tenant with publicly available properties (excluding all secrets, signatures etc). The endpoint should be used by a frontend application to fetch a payment method configuration for a particular tenant.
Required scopes
Payment modes configured in the payment-gateway service for a given tenant that returns only properties publicly available.
Unauthorized
Not found. The resource does not exist.
[- {
- "id": "92d77b2b-9385-43ad-a859-55176fbcbd2f",
- "code": "credit_card",
- "integrationType": "TOKENIZED",
- "paymentMethodType": "credit_card",
- "environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}, - {
- "id": "a8c96773-1cdf-4ea7-b1a2-1453d17f5374",
- "code": "sprel",
- "integrationType": "OFFSITE",
- "paymentMethodType": "sprel",
- "environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}, - {
- "id": "ef48f439-1c3c-42ff-807d-ef4cac237745",
- "code": "paypal",
- "integrationType": "OFFSITE",
- "paymentMethodType": "paypal",
- "environmentKey": "Zrg5UfAqQefDY8KGvU4b9OKuxz"
}
]
Retrieves many payment transactions. A particular transaction contains all transactions' events attached as an entries of the response body.
Required scopes
payment-gateway.paymenttransactions_read
Payment transactions response
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Internal Server Error.
[- {
- "id": "d8abfb12-0266-43dc-905e-415158029d45",
- "provider": "SPREEDLY",
- "paymentInformation": {
- "paymentMode": "92d77b2b-9385-43ad-a859-55176fbcbd2f",
- "creditCardToken": "FrHVCFtcshQ8gkOR8t5RlneLy02"
}, - "entries": [
- {
- "id": "5ab6f875-5414-4845-afe9-8976531a2573",
- "createdDate": "2023-07-02T09:19:42.170Z",
- "type": "AUTHORIZATION",
- "successful": true,
- "amount": {
- "amount": 36.63,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"transaction\" : {\n \"amount\" : 3663,\n \"payment_method_token\" : \"O7z9EVXYwzzxgQO78nobou22ET1\",\n \"currency_code\" : \"EUR\",\n \"order_id\" : \"EON1562\",\n \"retain_on_success\" : false\n }\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"FrHVCFtcshQ8gkOR8t5RlneLy02\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful authorize\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:19:42Z\",\n \"updated_at\" : \"2023-07-02T09:19:42Z\"\n },\n \"state\" : \"succeeded\",\n \"retained\" : false,\n \"amount\" : \"3663\",\n \"gateway_transaction_id\" : \"48\",\n \"created_at\" : \"2023-07-02T09:19:42Z\",\n \"updated_at\" : \"2023-07-02T09:19:42Z\",\n \"transaction_type\" : \"Authorization\",\n \"order_id\" : \"EON1562\",\n \"gateway_token\" : \"5xGx9vcZlMe1AVuHQk00CZTS8YM\",\n \"currency_code\" : \"EUR\",\n \"shipping_address\" : {\n \"name\" : \"John Smith\"\n },\n \"payment_method\" : {\n \"token\" : \"O7z9EVXYwzzxgQO78nobou22ET1\",\n \"test\" : true,\n \"month\" : 9,\n \"year\" : 2023,\n \"number\" : \"XXXX-XXXX-XXXX-1111\",\n \"fingerprint\" : \"78250e7a0b53b34f526fbf99be66982e1127\",\n \"created_at\" : \"2023-07-02T09:19:39Z\",\n \"updated_at\" : \"2023-07-02T09:19:39Z\",\n \"storage_state\" : \"cached\",\n \"last_four_digits\" : \"1111\",\n \"first_name\" : \"John\",\n \"last_name\" : \"Smith\",\n \"full_name\" : \"John Smith\",\n \"eligible_for_card_updater\" : true,\n \"issuer_identification_number\" : \"41111111\",\n \"payment_method_type\" : \"credit_card\",\n \"verification_value\" : \"XXX\"\n }\n }\n}"
}, - {
- "id": "b5c995f9-0ae8-455d-af0a-68f6995305bd",
- "createdDate": "2023-07-02T09:20:17.333Z",
- "type": "CAPTURE",
- "successful": true,
- "amount": {
- "amount": 36.63,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"amount\" : 3663,\n \"currency_code\" : \"EUR\"\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"ReaQQuCxWIhL1h1gyfE0VAuKQlI\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful capture\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:20:17Z\",\n \"updated_at\" : \"2023-07-02T09:20:17Z\"\n },\n \"gateway_transaction_id\" : \"51\"\n }\n}"
}, - {
- "id": "a080a8e1-c48f-410d-bd5a-7b921f5ce549",
- "createdDate": "2023-07-02T09:20:28.650Z",
- "type": "REFUND",
- "successful": true,
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"amount\" : 100,\n \"currency_code\" : \"EUR\"\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"Xn8g3ZiTFJ1Sbd3AOlvr2aZtdaW\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful credit\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:20:28Z\",\n \"updated_at\" : \"2023-07-02T09:20:28Z\"\n },\n \"gateway_transaction_id\" : \"59\"\n }\n}"
}, - {
- "id": "e7d19c09-322b-4596-9206-4b45a532bff1",
- "createdDate": "2023-07-02T09:20:38.441Z",
- "type": "REFUND",
- "successful": true,
- "amount": {
- "amount": 2,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"amount\" : 200,\n \"currency_code\" : \"EUR\"\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"CfcdzCUsXFlkNYNrnQsYoAquNAn\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful credit\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:20:38Z\",\n \"updated_at\" : \"2023-07-02T09:20:38Z\"\n },\n \"gateway_transaction_id\" : \"68\"\n }\n}"
}
]
}
]
Retrieves a single payment transaction. The transaction contains all the transaction's events attached as an entries of the response body.
Required scopes
payment-gateway.paymenttransactions_read
Payment transaction response
Unauthorized
Access forbidden. The caller is not allowed to access this resource.
Not found. The resource does not exist.
Internal Server Error.
{- "id": "d8abfb12-0266-43dc-905e-415158029d45",
- "provider": "SPREEDLY",
- "paymentInformation": {
- "paymentMode": "92d77b2b-9385-43ad-a859-55176fbcbd2f",
- "creditCardToken": "FrHVCFtcshQ8gkOR8t5RlneLy02"
}, - "entries": [
- {
- "id": "5ab6f875-5414-4845-afe9-8976531a2573",
- "createdDate": "2023-07-02T09:19:42.170Z",
- "type": "AUTHORIZATION",
- "successful": true,
- "amount": {
- "amount": 36.63,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"transaction\" : {\n \"amount\" : 3663,\n \"payment_method_token\" : \"O7z9EVXYwzzxgQO78nobou22ET1\",\n \"currency_code\" : \"EUR\",\n \"order_id\" : \"EON1562\",\n \"retain_on_success\" : false\n }\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"FrHVCFtcshQ8gkOR8t5RlneLy02\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful authorize\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:19:42Z\",\n \"updated_at\" : \"2023-07-02T09:19:42Z\"\n },\n \"state\" : \"succeeded\",\n \"retained\" : false,\n \"amount\" : \"3663\",\n \"gateway_transaction_id\" : \"48\",\n \"created_at\" : \"2023-07-02T09:19:42Z\",\n \"updated_at\" : \"2023-07-02T09:19:42Z\",\n \"transaction_type\" : \"Authorization\",\n \"order_id\" : \"EON1562\",\n \"gateway_token\" : \"5xGx9vcZlMe1AVuHQk00CZTS8YM\",\n \"currency_code\" : \"EUR\",\n \"shipping_address\" : {\n \"name\" : \"John Smith\"\n },\n \"payment_method\" : {\n \"token\" : \"O7z9EVXYwzzxgQO78nobou22ET1\",\n \"test\" : true,\n \"month\" : 9,\n \"year\" : 2023,\n \"number\" : \"XXXX-XXXX-XXXX-1111\",\n \"fingerprint\" : \"78250e7a0b53b34f526fbf99be66982e1127\",\n \"created_at\" : \"2023-07-02T09:19:39Z\",\n \"updated_at\" : \"2023-07-02T09:19:39Z\",\n \"storage_state\" : \"cached\",\n \"last_four_digits\" : \"1111\",\n \"first_name\" : \"John\",\n \"last_name\" : \"Smith\",\n \"full_name\" : \"John Smith\",\n \"eligible_for_card_updater\" : true,\n \"issuer_identification_number\" : \"41111111\",\n \"payment_method_type\" : \"credit_card\",\n \"verification_value\" : \"XXX\"\n }\n }\n}"
}, - {
- "id": "b5c995f9-0ae8-455d-af0a-68f6995305bd",
- "createdDate": "2023-07-02T09:20:17.333Z",
- "type": "CAPTURE",
- "successful": true,
- "amount": {
- "amount": 36.63,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"amount\" : 3663,\n \"currency_code\" : \"EUR\"\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"ReaQQuCxWIhL1h1gyfE0VAuKQlI\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful capture\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:20:17Z\",\n \"updated_at\" : \"2023-07-02T09:20:17Z\"\n },\n \"gateway_transaction_id\" : \"51\"\n }\n}"
}, - {
- "id": "a080a8e1-c48f-410d-bd5a-7b921f5ce549",
- "createdDate": "2023-07-02T09:20:28.650Z",
- "type": "REFUND",
- "successful": true,
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"amount\" : 100,\n \"currency_code\" : \"EUR\"\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"Xn8g3ZiTFJ1Sbd3AOlvr2aZtdaW\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful credit\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:20:28Z\",\n \"updated_at\" : \"2023-07-02T09:20:28Z\"\n },\n \"gateway_transaction_id\" : \"59\"\n }\n}"
}, - {
- "id": "e7d19c09-322b-4596-9206-4b45a532bff1",
- "createdDate": "2023-07-02T09:20:38.441Z",
- "type": "REFUND",
- "successful": true,
- "amount": {
- "amount": 2,
- "currency": "EUR"
}, - "summary": "Succeeded!",
- "remoteRequest": "{\n \"amount\" : 200,\n \"currency_code\" : \"EUR\"\n}",
- "remoteResponse": "{\n \"transaction\" : {\n \"token\" : \"CfcdzCUsXFlkNYNrnQsYoAquNAn\",\n \"succeeded\" : true,\n \"message\" : \"Succeeded!\",\n \"response\" : {\n \"success\" : true,\n \"message\" : \"Successful credit\",\n \"pending\" : false,\n \"cancelled\" : false,\n \"result_unknown\" : false,\n \"created_at\" : \"2023-07-02T09:20:38Z\",\n \"updated_at\" : \"2023-07-02T09:20:38Z\"\n },\n \"gateway_transaction_id\" : \"68\"\n }\n}"
}
]
}