Create Payment Account
This route allows the connector to create a payment account from consumer’s target account input.
It also allows you to update the status of the consumer account if that the account is not valid anymore (payment failure for instance).
POST
Create Payment Account
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id you used to create the given consumer
Body
application/json
Response
Created
Consumer payment account object
Example:
"FR7630006000011234567890189"
Unique ID of the object.
Example:
"e2c32b4b-de61-459b-accf-a75f76247946"
- Option 1
- Option 2
Consumer payout account object
Example:
"FR7630006000011234567890189"
TRUE: Payment account is valid, FALSE: Payment account is not valid
Example:
true
Previous
Gets Payment Account
Retrieves a specific payment account from the consumer.
A Payment Account is an object describing where the cashback money should be transfered.
It has:
- A payout account: Where the cashback money should be transfered out of the Payment
Service Provider.
- A target account: Where the cashback money should end up. This is the actual
account of the consumer.
If external ventilation, the payout account is the Program Manager pivot account,
and the target account is the account of the consumer.
In case of internal ventilation, payout account = target account = account of
the consumer.
Next
Create Payment Account