GetPaymentSummary
POST/v1/payments/get-summary¶ Description
Returns the payment-summary of the user, including available payment profiles and associated user profiles.
¶ Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| context | ThirdPartyRequestContext | Context of this request | Y |
| order_payment_selection_criteria | OrderPaymentSelectionCriteriaOneOf | Criteria to fetch payment information for an order | Y |
| requested_by | ParticipantEntity | The participant who is requesting to submit the tip | Y |
¶ Response Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| payment_profiles | array<PaymentProfile> | Payment profiles of the user | Y |
| user_profiles | array<UserProfile> | User profiles of the user | Y |
¶ Errors
| HTTP status | Code | Message |
|---|---|---|
| 404 | ERROR_CODE_PARTICIPANT_NOT_FOUND | One or more participants not found [value: “ |
| 403 | ERROR_CODE_INVALID_ENTITY_ACCESS | One or more of the participants are not accessible in the current environment |
| 422 | ERROR_CODE_INVALID_LOCATION_SPEC | Location spec is not valid |
| 422 | ERROR_CODE_INVALID_LOCATION_ID | Location id/provider is invalid |
| 422 | ERROR_CODE_OUTSIDE_SERVICE_AREA | Pickup location is outside the service area |