Sources
Source object represent your customer's payment method or instrument. Those are used with Payments API to pay a payment or related to Customer object to be used as a reusable payment instrument.
Last updated
Source object represent your customer's payment method or instrument. Those are used with Payments API to pay a payment or related to Customer object to be used as a reusable payment instrument.
Last updated
POST
https://api.piriod.com/sources/
Creates a new source object.
Name | Type | Description |
---|---|---|
GET
https://api.piriod.com/sources/
DELETE
https://api.piriod.com/sources/
GET
https://api.piriod.com/sources/{{id}}/authorize/
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Attributes
id string
Unique object's identifier.
customer string
ID of the Customer to which this Source was related.
gateway choice
The payment gateway that the Source represents.
Possible choice values paypal
webpay
khipu
oneclick
amount float
A float number in the currency unit, this is 10.5 USD or 10000 CLP. This is the amount for which the source will be chargeable once ready. Required for single_use
gateway.
status string
The status of the Source, one of failed
, pending
, consumed
, chargeable
or finalized
. For a gateway with single_use
usage only chargeable
sources can be used to pay a payment.
description string
A short Source's description. Its max length is 256.
created timestamp
Time at which the object was created in format yyyy-mm-dd hh:mm:ss
updated timestamp
Time at which the object was updated in format yyyy-mm-dd hh:mm:ss
gateway
string
The payment gateway of the source to create.
string
string
gateway
string
gateway
string
The payment gateway of the source to create.
gateway
string
The payment gateway of the source to create.
string