The unique identifier for the payin. This is set only for payments associated to a payin.
The type of the payin. This is set only for payments associated to a payin.
The unique identifier for the subscription. This is set only for subscription-related payments.
The currency in which the payment is made. The currency code is in ISO 4217 format. For example, USD.
The amount of the payment in cents. For example, 1000 cents is $10.00. The currency is determined by the currency
field.
The currency in which the payment is made. The currency code is in ISO 4217 format. For example, USD.
The amount of the payment in cents. For example, 1000 cents is $10.00. The currency is determined by the currency
field.
The purpose code of the payment. This should match the purpose code of the payin.
The transaction reference number. This should match the payin id.
The error code for the respective error. Error code mappings can be found in the product guide.
The error description corresponding to error code.
The creation timestamp of the payment.
The last update timestamp of the payment.
The name of the product associated with the payment.
The description of the product associated with the payment.
The country of the sender. Country should be sent as a ISO 3166-1 alpha-3 code.
A unique identifier generated by Glomo for the settlement batch in which this payment is included. This ID can be used to track and reconcile payments against corresponding settlements.
Indicates whether the funds for this payment are currently available with Glomo.
Values:
true
- Funds are available with Glomo and can be included in a payout or settlementfalse
- Funds are still in transit with Glomo's payment partners and are not yet available for use
Specifies the method used by the customer to complete the payment. This can include various options such as swift_transfer, card, and other payment methods.
{ "id": "payt_E602dMzgjpDC", "payin_id": "payin_E602dMzgjpDC", "payin_type": "payment_link", "subscription_id": "sub_68877570b5zeE", "status": "success", "payment_currency": "USD", "payment_amount": 1, "converted_currency": "USD", "converted_amount": 1, "purpose_code": "S0001", "transaction_reference_number": "payin_E602dMzgjpDC", "sender_name": "John Doe", "metadata": {}, "error_message": "string", "error_code": "PAYMENT_DECLINED", "error_description": "The payment attempt was declined. This could be due to issuer rejection, risk assessment, or restrictions on the card or account. The customer should contact their bank or try a different payment method.", "payment_date": "2024-12-06T11:38:37.130Z", "fee_bearer": "merchant", "created_at": "2024-12-06T11:38:37.130Z", "updated_at": "2024-12-06T11:38:37.130Z", "customer_id": "cust_E602sMzgjpDC", "product_name": "ShieldGuard Insurance", "product_description": "Simple, monthly insurance plan that covers your basic belongings and key digital assets", "country": "Ind", "ordered_amount": 1000, "ordered_currency": "USD", "fx_fee": { "amount": 1000, "currency": "USD" }, "txn_fee": { "amount": 1000, "currency": "USD" }, "documents": [ { … } ], "settlement_id": "string", "funds_available": true, "payment_method": { "type": "swift_transfer", "id": "swift_6883291fT7Rfw", "details": { … } }, "auto_debit": true }