ChargePayment
@TODO DESCRIBE ME




POST as x-www-form-urlencoded:

https://joy.classapp.co/graphql?access_token=YOUR_TOKEN_HERE&client_id=YOUR_CLIENT_ID


ChargePayment

ParamsDescription
idThe ID of an object
dbIdIdentifies the primary key from the database.
methodPayment method to authorize
cardTokenCard token
documentNumberPersonal document number (CPF)
emailEmail associated with card
phonePhone number associated with card
installmentsNumber of installments
reasonCharge Payment reason for manual-confirmation
chargeIdcharge
entityIdentity
userIduser
serviceTransactionIdservice transaction id
transactionTransaction Json
externalIdid to identify pagarme payable objects
linkBoleto (or other charge) link
referenceBoleto (or other charge) reference id
statusPayment status
statusDescriptionPayment status description
paidAmountFinal paid amount with rates
receivedAmountFinal received amount after rates
paidDateDate of payment confirmation
lastStatusUpdateDate of last status update
creditDateDate of credit of received amount
charge@TODO DESCRIBE ME
entity@TODO DESCRIBE ME
user@TODO DESCRIBE ME
externalDetailsInformation about this payment in pagarme
payablesPayables of the payment
mediaMedia of a payment
createdAn ISO-8601 encoded UTC date string of when record was created
modifiedAn ISO-8601 encoded UTC date string of when record was updated
deletedAn ISO-8601 encoded UTC date string of when record was deleted
keyRandom ID to differentiate from others
selectedHelper field for clients
highlightedHelper field for clients
expandedHelper field for clients
loadedHelper field for clients
loadingHelper field for clients

CreateChargePaymentInput

ArgumentsTypeDescription
entityId
Not Null
Id of entity that will make the payment
chargeId
Not Null
Id of charge
method
Not Null
Payment method to authorize
cardToken
String
SCALAR
Card token
documentNumber
String
SCALAR
Personal document number (CPF)
email
String
SCALAR
Email associated with card
phone
String
SCALAR
Phone number associated with card
installments
Int
SCALAR
Number of installments
reason
String
SCALAR
Charge Payment reason for manual-confirmation
clientMutationId
String
SCALAR

DeleteChargePaymentInput

ArgumentsTypeDescription
id
Not Null
The ID of a charge payment object
bankCode
String
SCALAR
The bank code of the account that should receive the refund
agency
String
SCALAR
The agency number of the account that should receive the refund
agencyDv
String
SCALAR
The agency`s digit of the account that should receive the refund
account
String
SCALAR
The account number of the account that should receive the refund
accountDv
String
SCALAR
The account`s digit of the account that should receive the refund
legalName
String
SCALAR
The legal name of the account holder
documentNumber
String
SCALAR
The document of the account holder
clientMutationId
String
SCALAR