Use an object based on PaymentResponse
to represent the response after a customer has completed a payment.
Properties marked as not required are required if the corresponding properties are set to true
in the PaymentOptions of the corresponding PaymentRequest.
Property | Type | Description | Required |
---|---|---|---|
| string | The unique identifier for the request that this response corresponds to. | Yes |
| The details that were sent to the payment processor to complete payment. | Yes | |
| string | A human-readable description of the payment method selected by the customer that can appear in subsequent merchant messages such as confirmation pages. | Yes |
| string | The email address provided by the customer. | No |
| string | The phone number provided by the customer. | No |
[deprecated]
| string | The ID of the ShippingOption selected by the customer. NOTE: This field is now deprecated. Please use | No |
| string | The ID of the FulfillmentOption selected by the customer. | No |
| string | The pickup name provided by the customer. | No |
| string | The pickup email address provided by the customer. | No |
| string | The pickup phone number provided by the customer. | No |
| The shipping address that was provided by the customer. | No | |
| The billing address that was provided by the customer. | No | |
| Array<Offer> | A list of offers applied to the transaction. | No |