PaymentClientIntent

A payment waiting to be confirmed with the payment provider's own SDK.

Load the SDK for gateway, initialise it with publicKey where given, and confirm with clientSecret. The payment is settled once the provider reports it, not when the SDK returns.

Fields

    amount
    Money!
    Required
    How much will be charged.
    clientSecret
    String
    Secret the provider's SDK confirms the payment with. Null when the provider needs none.
    customerId
    String
    The provider's customer the payment is attached to, for offering saved cards. Null when not attached to one.
    ephemeralKey
    String

    Short-lived key that lets the SDK act for customerId. Null when not attached to a customer.

    gateway
    String!
    Required

    Which payment provider takes the payment, such as stripe, razorpay or cashfree.

    intentId
    String!
    Required
    The provider's own reference for this payment.
    publicKey
    String
    Public key to initialise the provider's SDK with. Null when the provider needs none.
    status
    String!
    Required
    Where the payment stands at the provider, in the provider's own words.
Built with